package com.eunion.web.cms.service.impl;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eunion.web.cms.entity.MajorType;
import com.eunion.web.cms.repository.MajorTypeRepository;
import com.eunion.web.cms.service.MajorTypeService;
import com.eunion.web.common.base.BaseRepository;
import com.eunion.web.common.base.impl.BaseServiceImpl;

@Service(value = "majorTypeService")
@Transactional
public class MajorTypeServiceImpl extends BaseServiceImpl<MajorType, Long> implements MajorTypeService {

    private final Logger log = LoggerFactory.getLogger(MajorTypeServiceImpl.class);

    @Resource
    private MajorTypeRepository majorTypeRepository;

    @Override
    public BaseRepository<MajorType, Long> geBaseRepository() {
        return majorTypeRepository;
    }

}
